# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=lua-dns
pkgver=20080404
pkgrel=4
pkgdesc="a DNS client library written in Lua using LuaSocket"
url="https://github.com/abma/dns.lua"
arch="noarch"
license="Public Domain"
depends="lua lua-socket"
# Was found here: http://ztact.com/files/src/ztact-lua/
source="dns.lua ztact.lua"
options="!check"

prepare() {
	:
}

build() {
	:
}

package() {
	install -d "$pkgdir"/usr/share/lua/5.1
	install -m 644 "$srcdir"/*.lua "$pkgdir"/usr/share/lua/5.1/
}

sha512sums="d0d72b1ab652b55d573f8c2087709e5ca59525b9429579bca89121209b6f19a4db1e3a63681841cc23c892b5936ad460335dfc275c673ac6728c2c7b71f1faab  dns.lua
d0d59a58deea4552924f5ed11ca9ab404ed0b9f3c14b6834bd76c3a0f714b4b427e31682bce9880cdd110ec3b519e84839ff111af4df6f70c052fa2408e081bc  ztact.lua"
